/*
 * @Author: xcl
 * @Date: 2022-04-25 11:36:33
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-09-20 16:11:10
 * @Description: 在线瓦片地图服务资源（百度、高德、腾讯、天地图、ArcGIS）
 */
import common from "@/utils/common";
const mapImage = {
  // "百度地图-自定义0": {
  //   url: "http://api2.map.bdimg.com/customimage/tile?=&x={x}&y={y}&z={z}&scale=1&customid=midnight"
  // },
  // "百度地图-自定义0": {
  //   url: "http://api1.map.bdimg.com/customimage/tile?&x={x}&y={y}&z={z}&styles=t%3Abackground%7Ce%3Aall%7Cc%3A%2308304bff%2Ct%3Aroad%7Ce%3Aall%7Cv%3Aon%7Cc%3A%23000000ff%2Ct%3Apoi%7Ce%3Aall%7Cv%3Aon%7Cc%3A%23ffffffff%2Ct%3Aboundary%7Ce%3Aall%7Cv%3Aon%7Cc%3A%2300ffffff%2Ct%3Alabel%7Ce%3Aall%7Cv%3Aon%7Cc%3A%23ffffffff"
  // },
  // "百度地图-自定义0": {
  //   url: "/api/tile?&x={x}&y={y}&z={z}&udt=20220422&scale=1&ak=8d6c8b8f3749aed6b1aff3aad6f40e37&styles=t%3Awater%7Ce%3Aall%7Cc%3A%23044161%2Ct%3Aland%7Ce%3Aall%7Cc%3A%23091933%2Ct%3Aboundary%7Ce%3Ag%7Cc%3A%23064f85%2Ct%3Arailway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Ahighway%7Ce%3Ag%7Cc%3A%23004981%2Ct%3Ahighway%7Ce%3Ag.f%7Cc%3A%23005b96%7Cl%3A1%2Ct%3Ahighway%7Ce%3Al%7Cv%3Aon%2Ct%3Aarterial%7Ce%3Ag%7Cc%3A%23004981%7Cl%3A-39%2Ct%3Aarterial%7Ce%3Ag.f%7Cc%3A%2300508b%2Ct%3Agreen%7Ce%3Aall%7Cv%3Aoff%7Cc%3A%23056197%2Ct%3Asubway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Amanmade%7Ce%3Aall%7Cv%3Aoff%2Ct%3Alocal%7Ce%3Aall%7Cv%3Aoff%2Ct%3Aarterial%7Ce%3Al%7Cv%3Aon%2Ct%3Aboundary%7Ce%3Ag.f%7Cc%3A%23029fd4%2Ct%3Abuilding%7Ce%3Aall%7Cc%3A%231a5787%2Ct%3Apoi%7Ce%3Al.t.f%7Cc%3A%23e3dad9%2Ct%3Aall%7Ce%3Al.t.s%7Cc%3A%23000000"
  // },
  "百度地图-自定义0": {
    url: "http://api2.map.bdimg.com/customimage/tile?&x={x}&y={y}&z={z}&udt=20220422&scale=1&ak=8d6c8b8f3749aed6b1aff3aad6f40e37&styles=t%3Awater%7Ce%3Aall%7Cc%3A%23044161%2Ct%3Aland%7Ce%3Aall%7Cc%3A%23091933%2Ct%3Aboundary%7Ce%3Ag%7Cc%3A%23064f85%2Ct%3Arailway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Ahighway%7Ce%3Ag%7Cc%3A%23004981%2Ct%3Ahighway%7Ce%3Ag.f%7Cc%3A%23005b96%7Cl%3A1%2Ct%3Ahighway%7Ce%3Al%7Cv%3Aon%2Ct%3Aarterial%7Ce%3Ag%7Cc%3A%23004981%7Cl%3A-39%2Ct%3Aarterial%7Ce%3Ag.f%7Cc%3A%2300508b%2Ct%3Agreen%7Ce%3Aall%7Cv%3Aoff%7Cc%3A%23056197%2Ct%3Asubway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Amanmade%7Ce%3Aall%7Cv%3Aoff%2Ct%3Alocal%7Ce%3Aall%7Cv%3Aoff%2Ct%3Aarterial%7Ce%3Al%7Cv%3Aon%2Ct%3Aboundary%7Ce%3Ag.f%7Cc%3A%23029fd4%2Ct%3Abuilding%7Ce%3Aall%7Cc%3A%231a5787%2Ct%3Apoi%7Ce%3Al.t.f%7Cc%3A%23e3dad9%2Ct%3Aall%7Ce%3Al.t.s%7Cc%3A%23000000"
  },
  "百度地图-自定义1": {
    url: common.api_map_baidu + "/customimage/tile?&x={x}&y={y}&z={z}&udt=20220422&scale=1&ak=8d6c8b8f3749aed6b1aff3aad6f40e37&styles=t%3Awater%7Ce%3Aall%7Cc%3A%23044161%2Ct%3Aland%7Ce%3Aall%7Cc%3A%23091933%2Ct%3Aboundary%7Ce%3Ag%7Cc%3A%23064f85%2Ct%3Arailway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Ahighway%7Ce%3Ag%7Cc%3A%23004981%2Ct%3Ahighway%7Ce%3Ag.f%7Cc%3A%23005b96%7Cl%3A1%2Ct%3Ahighway%7Ce%3Al%7Cv%3Aon%2Ct%3Aarterial%7Ce%3Ag%7Cc%3A%23004981%7Cl%3A-39%2Ct%3Aarterial%7Ce%3Ag.f%7Cc%3A%2300508b%2Ct%3Agreen%7Ce%3Aall%7Cv%3Aoff%7Cc%3A%23056197%2Ct%3Asubway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Amanmade%7Ce%3Aall%7Cv%3Aoff%2Ct%3Alocal%7Ce%3Aall%7Cv%3Aoff%2Ct%3Aarterial%7Ce%3Al%7Cv%3Aon%2Ct%3Aboundary%7Ce%3Ag.f%7Cc%3A%23029fd4%2Ct%3Abuilding%7Ce%3Aall%7Cc%3A%231a5787%2Ct%3Apoi%7Ce%3Al.t.f%7Cc%3A%23e3dad9%2Ct%3Aall%7Ce%3Al.t.s%7Cc%3A%23000000"
  },
  "百度地图-自定义2": {
    url: "http://api2.map.bdimg.com/customimage/tile?&x={x}&y={y}&z={z}&udt=20200901&scale=1&styles=t%3Aland%7Ce%3Ag%7Cc%3A%231b1b1bff%2Ct%3Abuilding%7Ce%3Ag%7Cc%3A%232b2b2b%2Ct%3Ahighway%7Ce%3Aall%7Cc%3A%23444444ff%7Cl%3A-100%7Cs%3A-91%2Ct%3Aarterial%7Ce%3Ag%7Cl%3A-77%7Cs%3A-94%2Ct%3Agreen%7Ce%3Ag%7Cc%3A%231b1b1b%2Ct%3Awater%7Ce%3Ag%7Cc%3A%23444444ff%2Ct%3Asubway%7Ce%3Ag.s%7Cc%3A%23181818%2Ct%3Arailway%7Ce%3Ag%7Cl%3A-52%2Ct%3Aall%7Ce%3Al.t.s%7Cc%3A%23313131%2Ct%3Aall%7Ce%3Al.t.f%7Cc%3A%238b8787%2Ct%3Amanmade%7Ce%3Ag%7Cc%3A%231b1b1b%2Ct%3Alocal%7Ce%3Ag%7Cl%3A-75%7Cs%3A-91%2Ct%3Asubway%7Ce%3Ag%7Cl%3A-65%2Ct%3Aboundary%7Ce%3Ag%7Cc%3A%238b8787%7Cl%3A-29%7Cw%3A1"
  },
  "百度地图-自定义3": {
    url: "http://api2.map.bdimg.com/customimage/tile?&x={x}&y={y}&z={z}&udt=20161109&scale=1&styles=t%3Awater%7Ce%3Aall%7Cc%3A%23044161%2Ct%3Aland%7Ce%3Aall%7Cc%3A%23091933%2Ct%3Aboundary%7Ce%3Ag%7Cc%3A%23064f85%2Ct%3Arailway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Ahighway%7Ce%3Ag%7Cc%3A%23004981%2Ct%3Ahighway%7Ce%3Ag.f%7Cc%3A%23005b96%7Cl%3A1%2Ct%3Ahighway%7Ce%3Al%7Cv%3Aon%2Ct%3Aarterial%7Ce%3Ag%7Cc%3A%23004981%7Cl%3A-39%2Ct%3Aarterial%7Ce%3Ag.f%7Cc%3A%2300508b%2Ct%3Agreen%7Ce%3Aall%7Cv%3Aoff%7Cc%3A%23056197%2Ct%3Asubway%7Ce%3Aall%7Cv%3Aoff%2Ct%3Amanmade%7Ce%3Aall%7Cv%3Aoff%2Ct%3Alocal%7Ce%3Aall%7Cv%3Aoff%2Ct%3Aarterial%7Ce%3Al%7Cv%3Aon%2Ct%3Aboundary%7Ce%3Ag.f%7Cc%3A%23029fd4%2Ct%3Abuilding%7Ce%3Aall%7Cc%3A%231a5787%2Ct%3Apoi%7Ce%3Al.t.f%7Cc%3A%23e3dad9%2Ct%3Aall%7Ce%3Al.t.s%7Cc%3A%23000000"
  },
  "百度地图-矢量底图": {
    url: "http://online9.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=sl&v=020"
  },
  "百度地图-矢量注记": {
    url: "http://online9.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles=pl&scaler=1&p=1"
  },
  "百度地图-影像底图": {
    url: "http://shangetu9.map.bdimg.com/it/u=x={x};y={y};z={z};v=009;type=sate&fm=46"
  },
  "百度地图-影像注记": {
    url: "http://online9.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=sl&v=020"
  },
  "百度地图-暗色风格": {
    url: "http://api2.map.bdimg.com/customimage/tile?=&x={x}&y={y}&z={z}&scale=1&customid=midnight"
  },
  "百度地图-黑色风格": {
    url: "http://api2.map.bdimg.com/customimage/tile?=&x={x}&y={y}&z={z}&scale=1&customid=dark"
  },
  "百度地图-经典风格": {
    url: "http://api2.map.bdimg.com/customimage/tile?=&x={x}&y={y}&z={z}&scale=1&customid=normal"
  },

  "高德地图01": {
    url: "http://webst03.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&style=7"
  },
  "高德地图02": {
    url: "https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}"
  },
  "高德地图-矢量底图": {
    url: "https://webrd{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}"
  },
  "高德地图-电子底图": {
    url: "https://webrd{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}"
  },
  "高德地图-矢量底图（含路网、含注记）": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=7"
  },
  "高德地图-矢量底图（含路网，不含注记）": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=7"
  },
  "高德地图-影像底图": {
    url: "https://webst{s}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}"
  },
  "高德地图-影像底图2": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=6"
  },
  "高德地图-影像底图3": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=6"
  },
  "高德地图-影像注记": {
    url: "https://webst{s}.is.autonavi.com/appmaptile?style=8&x={x}&y={y}&z={z}"
  },
  "高德地图-路网1": {
    url: "https://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=8&ltype=11"
  },
  "高德地图-路网2": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=7"
  },
  "高德地图-道路": {
    url: "http://webrd{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}8&z={z}"
  },
  "高德地图-影像路图（含路网，含注记）": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=8"
  },
  "高德地图-影像路网（含路网，不含注记）": {
    url: "http://wprd{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=8"
  },

  "腾讯地图-电子图经典风格": {
    url: "https://rt{s}.map.gtimg.com/tile?z={z}&x={x}&y={reverseY}&styleid=1&scene=0&version=347"
  },
  "腾讯地图-矢量底图": {
    url: "http://rt{s}.map.gtimg.com/realtimerender?z={z}&x={x}&y={-y}&type=vector&style=0"
  },
  "腾讯地图-影像底图": {
    url: "https://p{s}.map.gtimg.com/sateTiles/{z}/{sx}/{sy}/{x}_{reverseY}.jpg?version=400"
  },

  // 天地图投影类型都是：球面墨卡托投影
  "天地图-矢量底图": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk={token}"
  },
  "天地图-矢量注记": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk={token}"
  },
  "天地图-影像底图": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk={token}"
  },
  "天地图-影像注记": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk={token}"
  },
  "天地图-地形晕渲": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=ter_w&x={x}&y={y}&l={z}&tk={token}"
  },
  "天地图-地形注记": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=cta_w&x={x}&y={y}&l={z}&tk={token}"
  },
  "天地图-全球境界": {
    url: "http://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk={token}"
  },

  "ArcGIS-卫星影像": {
    url: "http://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer"
  },
  "ArcGIS-黑色地形": {
    url: "http://server.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade_Dark/MapServer"
  },
  "ArcGIS-白色地形": {
    url: "http://server.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer"
  },
  "ArcGIS-灰色地图": {
    url: "http://cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineStreetGray/MapServer"
  },
  "ArcGIS-深蓝地图": {
    url: "http://cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineStreetPurplishBlue/MapServer"
  },
  "ArcGIS-暖色地图": {
    url: "http://cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineStreetWarm/MapServer"
  },
  "ArcGIS-经典地图": {
    url: "http://cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineCommunity/MapServer"
  },
  "ArcGIS-黑色画布底": {
    url: "http://server.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer"
  },
  "ArcGIS-灰白画布底": {
    url: "http://server.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer"
  },
  "ArcGIS-海洋": {
    url: "http://server.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer"
  },
}

export default mapImage;